@import "header"; //头部
@import "main_header"; //头部
@import "user"; //用户盒子
@import "footer"; //尾部
@import "side"; //侧边导航
header {
    height: 40px;
}
main {
    .main_header {
        margin-top: 41px;
    }
    .detail_box {
        width: 1180px;
        margin: 0 auto;
        overflow: hidden;
        margin-top: 50px;
        position: relative;
    }
}

/*商品详情信息*/
.detail_box {
    .detail_left {
        float: left;
        position: relative;
        .picbox {
            width: 480px;
            height: 480px;
            border: 1px solid transparent;
        }
        /*大图片显示区域*/
        .bf {
            width: 510px;
            height: 510px;
            background: #fff;
            overflow: hidden;
            position: absolute;
            top: 0;
            left: 490px;
            visibility: hidden;
            border: 1px solid #ccc;
            img {
                position: absolute;
                width: 800px;
                height: 800px;
            }
        }
    }

    .ulist {
        width: 480px;
        height: 92px;
        float: left;
        position: relative;
        overflow: hidden;
        .samll_list {
            width: 440px;
            overflow: hidden;
            position: absolute;
            left: 20px;
            height: 92px;
        }
        ul {
            position: absolute;
            float: left;
            left: 0px;
            top: 0px;
        }
        li {
            width: 88px;
            height: 88px;
            float: left;
            border-bottom: 3px solid transparent;
        }

        a {
            display: block;
            width: 20px;
            font-size: 14px;
            color: #aaa;
            height: 88px;
            line-height: 88px;
            text-align: center;
            position: absolute;
            top: 0;
        }
        .arrow_left {
            right: 0;
        }
        .arrow_right {
            left: 0;
        }
        img {
            width: 100%;
        }
    }

    .detail_right {
        width: 630px;
        float: left;
        margin-left: 60px;
    }
}

/*商品图片*/
.picbox {
    .sf {
        width: 300px;
        height: 300px;
        background-color: #fede4f;
        cursor: move;
        opacity: 0.5;
        // z-index: 100;
        position: absolute;
        top: 0;
        left: 0;
        visibility: hidden;
    }
}

/*购物信息*/
.detail_right {
    .title {
        color: #333;
        font-size: 18px;
    }
    .price {
        color: #fa5437;
        font-weight: 600;
        font-size: 24px;
        margin-left: 5px;
    }
    .notice {
        height: 30px;
        line-height: 30px;
        font-size: 12px;
        color: #f33;
        text-indent: 35px;
        background: url(https://p.ssl.qhimg.com/t0162338fb79bf00d67.png) #ffebc6 no-repeat 10px center;
        background-size: 19px 19px;
        border-radius: 5px;
        margin: 10px auto;
    }
    p {
        color: #333;
        font-size: 14px;
        height: 40px;
        line-height: 40px;
    }
    .quantity {
        display: flex;
        align-items: center;
    }
    .shop_btn {
        margin-top: 30px;
        a {
            display: inline-block;
            width: 180px;
            height: 40px;
            background: linear-gradient(180deg, #f33 0, #f63 100%);
            border-radius: 7px;
            outline: 0;
            color: #fff;
            font-size: 20px;
            text-align: center;
            line-height: 40px;
            margin-right: 30px;
            border: 1px solid transparent;
        }
        .buy_btn {
            background: #ffebe9;
            border-color: #f33;
            color: #f33;
        }
    }
    .shop_hint_box {
        width: 200px;
        border-radius: 15px;
        border: 1px solid #bbb;
        background: #eee;
        padding: 10px;
        position: absolute;
        left: 450px;
        top: 250px;
        display: none;
        .hint_text {
            color: #666;
            font-size: 20px;
            height: 70px;
            line-height: 70px;
            text-align: center;
        }
    }
}

/*购物数量*/
.quantity {
    .quantity_num {
        width: 40px;
        height: 28px;
        text-align: center;
        color: #999;
        background-color: #fff;
        padding: 0;
        border: 1px solid #ddd;
        outline: 0;
    }
    a {
        display: block;
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 16px;
        text-align: center;
        border: 1px solid #ddd;
        color: #666;
        background: #f6f6f6;
    }
    p {
        margin-right: 10px;
    }
}
